package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.Orders;

public interface OrdersService extends IService<Orders> {

    /**
     * 客户端提交订单 并保存数据于订单表和订单明细表
     * @param orders
     * @return
     */
    boolean submit(Orders orders);

    /**
     * 再来一单
     * @param orders
     */
    void saveAgain(Orders orders);
}
